package com.fw.payment.util;

import javax.servlet.http.HttpServletRequest;

public class RequestUtil {

    public static String getURLWithContextPath(HttpServletRequest request) {
	return request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath();
    }

}
